require 'btcollection'
require 'singleton'
class BTController
  include Singleton
  
  @@next_port = Configuration.find(:first).bt_start_port - 1
  def btcollection
    @btcollection = BTCollection.instance
  end

  def next_port
    @@next_port += 1
    return @@next_port
  end
  
  def inc_next_port
    @@next_port += 1
    return @@next_port
  end
end

